﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OneMG.Phoenix.Service.Model;
using OneMG.Phoenix.Service.Contracts;
using OneMG.Phoenix.Service;

namespace OneMG.Phoenix.AdminSite.Views.Passport
{
    public partial class RightsAndType : System.Web.UI.Page
    {
        IRightsService IRights = new RightsService();
        public IList<RightsAndTypeModel> objRightsAndType = new List<RightsAndTypeModel>();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                objRightsAndType = IRights.GetRightAndType();
            }
        }
    }
}
